package com.lp.biz.operations.service;

import com.lp.biz.operations.model.entity.BizRecommendToday;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lp.biz.operations.model.vo.TodayAdd;
import com.lp.common.entity.PageParams;
import com.lp.common.utils.CommonResult;

/**
 * BizRecommendToday 服务类
 * @program: backend
 * @author Ke.Song
 * @since 2024-07-14 23:26:00
 */
public interface BizRecommendTodayService extends IService<BizRecommendToday> {

    /**
     * 获取今日推荐位列表
     * @param query 查询参数
     * @return 查询结果
     */
    CommonResult getTodayList(PageParams query);

    /**
     * 创建/更新今日推荐
     *
     * @param params 推荐参数
     */
    void addOrUpdateToday(TodayAdd params);

    /**
     * 删除今日推荐
     * @param recommendId 推荐id
     */
    void deleteTodayRecommend(Integer recommendId);

}
